@mixin w {
    width: 1150px;margin: 0 auto;
}
@mixin textCenter($val){
    text-align: center;
    line-height: $val;
}
@mixin flexCenter{
    display: flex;
    justify-content: center;
    align-items: center;
}

@import "./yohofooter.scss";

.dui{
    display: block !important;
    color: green;
    font-size: 12px;
}
.cuo{
    display: block !important;
    color: red;
    font-size: 12px;
}

.reg-header{
    height: 66px;
    border-bottom: 2px solid #000;
    margin-bottom: 20px;
    .header{
        height: 100%;
        width: 990px;
        margin: 0 auto;
        .logo{
            float: left;
            height: 100%;
            a{
                display: block;
                line-height: 66px;
                img{
                    vertical-align: middle;
                }
            }
            
        }
        .head-right{
            height: 100%;
            float: right;
            display: flex;
            line-height: 66px;
            ul{
                height: 100%;
                li{
                    float: left;
                    padding: 0 5px;
                    a{
                        color: #000;
                    }
                }
                #loginBox{
                    .quitBtn{
                        background-color: #fff;
                        border: 0;
                        cursor: pointer;
                        font-size: 12px;
                        margin-left: 5px;
                    }
                 }
            }
        }
    }
}

.reg-content{
    overflow: hidden;
    @include w();
    .warn{
        width: 990px;
        margin: 0 auto;
        height: 25px;
        background-color: #f5f5f5;
        line-height: 25px;
        overflow: hidden;
        margin-top: 10px;
        text-align: center;
        span{
            color: red;
        }
    }
    .passport{
        width: 575px;
        margin: 107px 0;
        border-right: 1px solid #000;
        padding: 50px 0;
        float: left;
        img{
            display: block;
            margin: 0 auto;
            margin-top: 50px;
        } 
    }

    .form{
        float: left;
        margin-top: 50px;
        padding-left: 85px;
        h2{
            margin-top: 50px;
            font-size: 20px;
            margin-bottom: 20px;
        }
        .userTips,.pwdTips,.emailTips,.phoneTips{
            display: none;
            width: 130px;
            height: 60px;
            position: absolute;
            top: -10px;
            right: -150px;
            border: 1px solid rgb(56, 0, 240);
            background-color: #fff;
            text-align: center;
            padding: 10px 0;
            box-sizing: border-box;
            .circle{
                position: absolute;
                top: 40%;
                left: -10px;
                border-left: 5px solid transparent;
                border-right: 5px solid rgb(56, 0, 240);
                border-top: 5px solid transparent;
                border-bottom: 5px solid transparent;
            }
        }
        .user,.email,.phone,.pwd{
            position: relative;
            margin-bottom: 20px;
            input{
                box-sizing: border-box;
                width: 268px;
                height: 43px;
                padding: 0 10px;
            }   
        }
        .pwd{
            p{
               width: 100%;
               text-align: right;
               margin-top: 5px;
               span{
                   padding: 0 5px;
                   background-color: rgb(164, 163, 163);
                   color: #f5f5f5;
               }
            }
        }
        .btn{
            input{
                width: 268px;
                height: 43px;
                padding: 0 10px;
                margin-bottom: 20px;
                background: red;
                color: white;
                font-size: 20px;
                border: 0;
            }
        }
        .re{
            text-align: center;
            a{
                color: red;
            }
        }
    }
}

